
    import React, { Suspense } from 'react';
    import { RouterProvider as BrowserRouterProvider, createBrowserRouter } from 'react-router-dom';
    import routes from 'qps:routes';



    const router = createBrowserRouter(routes);

    export const RouterProvider = (props: any) => {
      const { noFoundLayout, ...rest } = props || {};

      return <BrowserRouterProvider router={router} fallbackElement={noFoundLayout} {...rest} />;
    };
    